package com.imu.wys.util;

import java.util.ArrayList;
import java.util.List;

public class SentenceUtil {
    public static String[] splitSentence(String content){
        content = content.replace("。","。\\|");
        content = content.replace("？","？\\|");
        content = content.replace("！","！\\|");
        content = content.replace("\n","");

        String[] sens = content.split("\\|");

        return sens;
    }
}
